﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="RegisterVisitor.aspx.cs"
    Inherits="NJL.Web.RegisterVisitor" %>

<%@ Register Src="Controls/WUCHeader1.ascx" TagName="WUCHeader1" TagPrefix="uc1" %>
<%@ Register Src="Controls/WUCFooter1.ascx" TagName="WUCFooter1" TagPrefix="uc2" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
    <script src="Scripts/DatePicker/WdatePicker.js" type="text/javascript"></script>
    <script src="Scripts/jquery-1.4.1.js" type="text/javascript"></script>
    <link rel="stylesheet" type="text/css" href="Styles/base1.css" />
    <link href="Styles/manage.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript">
        function checkCode() {
            var txtName = document.getElementById("<%=txtName.ClientID %>").value;
            txtName = $.trim(txtName);
            if (txtName == "") {
                alert("请输入真实姓名");
                return false;
            }
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <uc1:WUCHeader1 ID="WUCHeader11" runat="server" />
    <div class="cleanFlex managecont">
        <!--top信息-->
        <div class="registinfo">
            <p>
                回归田园生活，感受乡村气息！</p>
        </div>
        <!--商户注册-->
        <div class="registtype">
            <!--选择类型-->
            <div class="busdate">
                <div class="datatitle">
                    <span>注：带<strong>*</strong>号为必填</span>
                    <h2>
                        <strong>填写以下资料，即可轻松完成注册。</strong></h2>
                </div>
                <div class="cont">
                    <div>
                        <div class="m_top_20">
                        </div>
                        <table cellpadding="0" cellspacing="0" class="tab" width="100%">
                            <tr>
                                <td width="10%" class="left">
                                    真实姓名
                                </td>
                                <td width="37%">
                                    <asp:TextBox ID="txtName" runat="server" MaxLength="25" class="input" Style="width: 175px;"></asp:TextBox>(<strong  style="color: #ff0000">*</strong>)
                                </td>
                                <td width="14%" class="left">
                                    性别
                                </td>
                                <td width="39%">
                                    <asp:RadioButtonList ID="rblSex" runat="server" CellPadding="0" CellSpacing="0" RepeatDirection="Horizontal"
                                        RepeatLayout="Flow">
                                        <asp:ListItem Selected="True" Value="男">男</asp:ListItem>
                                        <asp:ListItem>女</asp:ListItem>
                                    </asp:RadioButtonList>
                                </td>
                            </tr>
                            <tr>
                                <td class="left">
                                    证件类型
                                </td>
                                <td>
                                    <asp:DropDownList ID="ddlType" runat="server">
                                        <asp:ListItem>身份证</asp:ListItem>
                                        <asp:ListItem>军官证</asp:ListItem>
                                        <asp:ListItem>护照</asp:ListItem>
                                    </asp:DropDownList>
                                </td>
                                <td class="left">
                                    证件号码
                                </td>
                                <td>
                                    <asp:TextBox ID="txtNumber" runat="server" MaxLength="50" Style="width: 350px;" class="input"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td class="left">
                                    生日
                                </td>
                                <td>
                                    <asp:TextBox ID="txtBirthday" runat="server" onfocus="WdatePicker({ dateFmt: 'yyyy-MM-dd' })"
                                        MaxLength="20" Style="width: 175px;" class="input"></asp:TextBox>
                                </td>
                                <td class="left">
                                    学历
                                </td>
                                <td>
                                    <asp:TextBox ID="txtEducation" runat="server" MaxLength="10" class="input" Style="width: 175px;"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td class="left">
                                    爱好
                                </td>
                                <td colspan="3">
                                    <asp:CheckBoxList ID="cbxlLove" runat="server" RepeatColumns="3">
                                    </asp:CheckBoxList>
                                </td>
                            </tr>
                            <tr>
                                <td colspan="4" class="bottom">
                                    <asp:Button ID="btnSubmit" runat="server" OnClick="btnSubmit_Click" OnClientClick="return checkCode()"
                                        class="registBtn" />
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <uc2:WUCFooter1 ID="WUCFooter11" runat="server" />
    </form>
</body>
</html>
